﻿using System.Collections.Generic;
using Sebrae.Academico.Trilhas.BM.Classes;
using Sebrae.Academico.Trilhas.BP;
using Sebrae.Academico.Trilhas.Dominio.Classes;

namespace Sebra.Academico.Trilhas.BP
{
    public class ManterUf : BusinessProcessBase
    {

        private BMUf uf = null;

        public ManterUf()
            : base()
        {
            uf = new BMUf(unitOfWork);
        }
              
        public Uf ObterUfPorID(int pId)
        {
            return uf.ObterPorId(pId);
        }

        public IList<Uf> ObterTodosUf()
        {
            return uf.ObteTodos();
        }
              
    }
}